Squaring the circle is a classical mathematical problem that involves constructing a square with the same area as a given circle using only a finite number of steps with a compass and straightedge. It was proven to be impossible in 1882 because it requires constructing the length of π (pi), which is a transcendental number and cannot be achieved with these tools. The phrase is also used metaphorically to describe attempting an impossible or extremely difficult task.